package com.zeny.coding.enmus;

import lombok.Getter;

/**
 * <h2>响应状态枚举</h2>
 * @Author Zeny
 */
@SuppressWarnings("all")
@Getter
public enum ResponseStatusEnum {
    SUCCESS(true, "10000", "成功"),
    FAIL(false, "20000", "失败"),
    EXECPTION(false, "30000", "出现了异常"),
    ;

    private Boolean success;
    private String code;
    private String message;

    ResponseStatusEnum(Boolean success, String code, String message) {
        this.success = success;
        this.code = code;
        this.message = message;
    }
}
